package com.mi.million.module.system.service.impl;

import com.mi.million.module.system.service.LogService;
import com.mi.million.mybatis.entity.SysLogLogin;
import com.mi.rule.db.dao.MiDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 字典表 服务实现类
 */
@Service
public class LogServiceImpl implements LogService {
    @Autowired
    private MiDao miDao;

    @Override
    public boolean saveLog(SysLogLogin logLogin) {
        long insert = miDao.insert(logLogin);
        return insert > 0;
    }
}
